package com.mao.dao;

import com.mao.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by kechelle on 2020/8/5 17:19
 */
public interface UserRepository extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username,String password);

}
